package com.z1.core.data.export.pdf.model;

import java.util.ArrayList;
import java.util.List;

public class PdfTableRow implements java.io.Serializable {

	private static final long serialVersionUID = 1430770672250175499L;
	
	private List<PdfTableCell> cells = null;

	public List<PdfTableCell> getCells() {
		return cells;
	}
	public void setCells(List<PdfTableCell> cells) {
		this.cells = cells;
	}
	public void addCell(PdfTableCell cell) {
		if (null == cells) {
			this.cells = new ArrayList<PdfTableCell>();
		}
		this.cells.add(cell);
	}
	public PdfTableRow cells(List<PdfTableCell> cells) {
		this.setCells(cells);
		return this;
	}
	public PdfTableRow cell(PdfTableCell cell) {
		this.addCell(cell);
		return this;
	}
	
//	public float[] getWidths() {
//	}
	
}
